<template>
<!-- 搜索页 -->
    <div class="list">
        <van-list
            v-model="loading"
            :finished="finished"
            finished-text="没有更多了"
            @load="onLoad"
        >
          <van-cell v-for="item in searchlist" :key="item" :title="item" @click="Getlist(item)"/>
        </van-list>
    </div>
</template>

<script>
export default {
    data() {
    return {
      loading: true,
      finished: true,
    };
  },
  methods:{
      onLoad(){
         this.loading=false
      },
      Getlist(v){
         this.$emit('parlist',v)
      }
  },
  props:['searchlist']
}
</script>

<style>

</style>